//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="MODHDTM")]
		public class MODHDTMEntity: EntityObject
		{


#region Field
				private	string _CAT_CODE="";
				private	Int32 _CAV_QTY=0;
				private	string _CUS_CODE="";
				private	string _CUS_MOLD="";
				private	DateTime _INHS_DATE=DateTime.MinValue;
				private	DateTime _MAKE_DATE=DateTime.MinValue;
				private	string _MOLD_CLASS="";
				private	string _MOLD_CODE="";
				private	Int32 _MOLD_GW=0;
				private	string _MOLD_NAME01="";
				private	string _MOLD_NAME02="";
				private	string _MOLD_NAME03="";
				private	string _MOLD_NAME04="";
				private	Int32 _NOOF_AVAIL=0;
				private	Int32 _NOOF_SHOT=0;
				private	string _PROJ_NO="";
				private	string _VEN_CODE="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//MODHDTM,CAT_CODE
				//</Summary>
				public string CAT_CODE
				{
					get { return _CAT_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CAT_CODE)
							{
								_CAT_CODE = value; 
								this.PropertyChange("CAT_CODE");
							}
						}else{
							_CAT_CODE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,CAV_QTY
				//</Summary>
				public Int32 CAV_QTY
				{
					get { return _CAV_QTY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CAV_QTY)
							{
								_CAV_QTY = value; 
								this.PropertyChange("CAV_QTY");
							}
						}else{
							_CAV_QTY = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,CUS_CODE
				//</Summary>
				public string CUS_CODE
				{
					get { return _CUS_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CUS_CODE)
							{
								_CUS_CODE = value; 
								this.PropertyChange("CUS_CODE");
							}
						}else{
							_CUS_CODE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,CUS_MOLD
				//</Summary>
				public string CUS_MOLD
				{
					get { return _CUS_MOLD; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CUS_MOLD)
							{
								_CUS_MOLD = value; 
								this.PropertyChange("CUS_MOLD");
							}
						}else{
							_CUS_MOLD = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,INHS_DATE
				//</Summary>
				public DateTime INHS_DATE
				{
					get { return _INHS_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_INHS_DATE)
							{
								_INHS_DATE = value; 
								this.PropertyChange("INHS_DATE");
							}
						}else{
							_INHS_DATE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MAKE_DATE
				//</Summary>
				public DateTime MAKE_DATE
				{
					get { return _MAKE_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MAKE_DATE)
							{
								_MAKE_DATE = value; 
								this.PropertyChange("MAKE_DATE");
							}
						}else{
							_MAKE_DATE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_CLASS
				//</Summary>
				public string MOLD_CLASS
				{
					get { return _MOLD_CLASS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_CLASS)
							{
								_MOLD_CLASS = value; 
								this.PropertyChange("MOLD_CLASS");
							}
						}else{
							_MOLD_CLASS = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_CODE
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string MOLD_CODE
				{
					get { return _MOLD_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_CODE)
							{
								_MOLD_CODE = value; 
								this.PropertyChange("MOLD_CODE");
							}
						}else{
							_MOLD_CODE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_GW
				//</Summary>
				public Int32 MOLD_GW
				{
					get { return _MOLD_GW; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_GW)
							{
								_MOLD_GW = value; 
								this.PropertyChange("MOLD_GW");
							}
						}else{
							_MOLD_GW = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_NAME01
				//</Summary>
				public string MOLD_NAME01
				{
					get { return _MOLD_NAME01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_NAME01)
							{
								_MOLD_NAME01 = value; 
								this.PropertyChange("MOLD_NAME01");
							}
						}else{
							_MOLD_NAME01 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_NAME02
				//</Summary>
				public string MOLD_NAME02
				{
					get { return _MOLD_NAME02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_NAME02)
							{
								_MOLD_NAME02 = value; 
								this.PropertyChange("MOLD_NAME02");
							}
						}else{
							_MOLD_NAME02 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_NAME03
				//</Summary>
				public string MOLD_NAME03
				{
					get { return _MOLD_NAME03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_NAME03)
							{
								_MOLD_NAME03 = value; 
								this.PropertyChange("MOLD_NAME03");
							}
						}else{
							_MOLD_NAME03 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,MOLD_NAME04
				//</Summary>
				public string MOLD_NAME04
				{
					get { return _MOLD_NAME04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_MOLD_NAME04)
							{
								_MOLD_NAME04 = value; 
								this.PropertyChange("MOLD_NAME04");
							}
						}else{
							_MOLD_NAME04 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,NOOF_AVAIL
				//</Summary>
				public Int32 NOOF_AVAIL
				{
					get { return _NOOF_AVAIL; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_NOOF_AVAIL)
							{
								_NOOF_AVAIL = value; 
								this.PropertyChange("NOOF_AVAIL");
							}
						}else{
							_NOOF_AVAIL = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,NOOF_SHOT
				//</Summary>
				public Int32 NOOF_SHOT
				{
					get { return _NOOF_SHOT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_NOOF_SHOT)
							{
								_NOOF_SHOT = value; 
								this.PropertyChange("NOOF_SHOT");
							}
						}else{
							_NOOF_SHOT = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,PROJ_NO
				//</Summary>
				public string PROJ_NO
				{
					get { return _PROJ_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_PROJ_NO)
							{
								_PROJ_NO = value; 
								this.PropertyChange("PROJ_NO");
							}
						}else{
							_PROJ_NO = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,VEN_CODE
				//</Summary>
				public string VEN_CODE
				{
					get { return _VEN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_VEN_CODE)
							{
								_VEN_CODE = value; 
								this.PropertyChange("VEN_CODE");
							}
						}else{
							_VEN_CODE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//MODHDTM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
